package cn.mazexal.exambg.common.models;

/**
 * @author: Mazexal
 * Date: 2025/5/11
 */
public class PagedQry {
    private Integer current;
    private Integer pageSize;

    public PagedQry() {
    }

    public int getBegin() {
        return (this.current - 1) * this.pageSize;
    }

    public Integer getCurrent() {
        return this.current;
    }

    public void setCurrent(Integer current) {
        this.current = current;
    }

    public Integer getPageSize() {
        return this.pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
}

